package com.example.stlink.model.contract;

import android.provider.BaseColumns;

/**
 * User类的合约类，主要是对数据库的字段进行定义
 */
public final class UserInfoContract {
    private UserInfoContract(){}

    public static class UserEntry implements BaseColumns {
        public static final String TABLE_NAME = "user_info";
        public static final String COLUMN_NAME_APP_KEY = "appKey";
        public static final String COLUMN_NAME_AVATAR = "avatar";
        public static final String COLUMN_NAME_COLLEGE_NAME = "collegeName";
        public static final String COLUMN_NAME_CREATE_TIME = "createTime";
        public static final String COLUMN_NAME_EMAIL = "email";
        public static final String COLUMN_NAME_GENDER = "gender";
        public static final String COLUMN_NAME_ID = "id";
        public static final String COLUMN_NAME_ID_NUMBER = "idNumber";
        public static final String COLUMN_NAME_IN_SCHOOL_TIME = "inSchoolTime";
        public static final String COLUMN_NAME_LAST_UPDATE_TIME = "lastUpdateTime";
        public static final String COLUMN_NAME_PHONE = "phone";
        public static final String COLUMN_NAME_REAL_NAME = "realName";
        public static final String COLUMN_NAME_ROLE_ID = "roleId";
        public static final String COLUMN_NAME_USER_NAME= "userName";
    }
}
